using System;
using WindowsLive.Writer.Api;

namespace WebcamSnapshotPlugin
{
	/// <summary>
	/// Summary description for WebcamSnapshotSettings.
	/// </summary>
	public class WebcamSnapshotSettings
	{
		private IProperties _properties;
        public WebcamSnapshotSettings(IProperties properties)
		{
			_properties = properties;
		}

		public string DeviceId
		{
            get { return _properties.GetString(DEVICEID, String.Empty); }
            set { _properties.SetString(DEVICEID, value); }
		}
		private const string DEVICEID = "DeviceID" ;

        public string SnapshotFile
        {
            get { return _properties.GetString(SNAPSHOTFILE, String.Empty); }
            set { _properties.SetString(SNAPSHOTFILE, value); }
        }
        private const string SNAPSHOTFILE = "SnapshotFile";
	}
}
